<?php
namespace App\Vehicle;
use App\Swimable;

/**
 * Created by PhpStorm.
 * User: libin
 * Date: 2017/9/7
 * Time: 上午10:08
 */
class Submarine extends Vehicle implements Swimable
{
    public function swim()
    {
        echo '在水中潜行<br/>';
    }
}